package com.miles.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.type.Alias;
//给类起别名
//@Alias("user")
//lombok 插件
@Data  //生成get set toString hashCode方法
@NoArgsConstructor  //生成无参构造
@AllArgsConstructor //生成有参构造
public class User {
    private int id;
    private String name;
    private String password;
}
